if (!defined('__TYPECHO_ROOT_DIR__')) {
    error_log('__TYPECHO_ROOT_DIR__ is not defined.');
    exit();
}

if (!function_exists('_e')) {
    function _e($text)
    {
        return $text;
    }
}

$this->need('header.php');
?>
<main class="container mt-5 text-center">
    <div class="alert alert-danger" role="alert">
        <h1><strong>404</strong> - <?php _e('页面没找到'); ?></h1>
        <h3><?php _e('你想查看的页面已被转移或删除了'); ?></h3>
        <a href="<?php $this->homeUrl(); ?>" class="btn btn-primary mt-3">返回首页</a>
    </div>
</main>
<?php $this->need('footer.php'); ?>